<?php echo validation_errors(); ?>
<?php echo isset($thongbao)?$thongbao:''; ?>
<form action="<?php echo base_url().'/backend/admin/artice/edit-'.$baiviet->id ; ?>" method="post" >
    <p><label for="title">Tiêu đề</label></p>
            <p><input type="text" class="w100" name="title" value="<?php echo $baiviet->title; ?>" /></p>
            <p><label for="alias">Alias</label></p>
            <p><input type="text" class="w100" name="alias" value="<?php echo $baiviet->alias; ?>" /></p>

    
    <p><label for="iddanhmuc">Danh mục</label></p>
            <p><input type="text" name="iddanhmuc" value="<?php echo $baiviet->iddanhmuc; ?>" /></p>
            <p><label for="publish">Publish</label></p>
            <p><input type="text" name="publish" value="<?php echo $baiviet->publish; ?>" /></p>

    
    
    <textarea cols="50" rows="4" name="metades" ><?php echo ($baiviet->metades != null)?$baiviet->metades:''; ?></textarea>
    <textarea cols="50" rows="4" name="metakey" ><?php echo ($baiviet->metakey != null)?$baiviet->metakey:''; ?></textarea>
    <textarea cols="50" rows="4" name="introtext" ><?php echo ($baiviet->introtext != null)?$baiviet->introtext:''; ?></textarea>
    <textarea cols="50" rows="4" name="fulltext" ><?php echo ($baiviet->fulltext != null)?$baiviet->fulltext:''; ?></textarea>
    <input type="submit"  value="Lưu Lại" />
</form>
<script type="text/javascript" src="<?php echo base_url().'/ckeditor/ckeditor.js';?>"></script>
	<script type="text/javascript" src="<?php echo base_url().'/ckeditor/sample.js';?>" ></script>

